package com.lkl.controller;

import com.lkl.bean.BaseResp;
import com.lkl.service.StationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author lkl
 * @Description
 * @Date 2022/3/28
 */
@RestController
@RequestMapping("station")
public class StationController {

    @Autowired
    StationService stationService;


    @RequestMapping("/findbyname")
    public BaseResp findbyname(String name){

       return stationService.findbyname(name);

    }
}
